package com.therandoms.rtgdroid.help;

import org.codepond.wizardroid.WizardFlow;
import org.codepond.wizardroid.layouts.BasicWizardLayout;

import android.os.Bundle;

/**
 * 
 * @author logan
 *
 */
public class HelpWizard extends BasicWizardLayout {

	/**
	 * Default constructor.
	 */
	public HelpWizard() {
		super();
	}

	@Override
	public WizardFlow onSetup() {
		// add steps here between new WizardFlow.Builder() and .create()
		return new WizardFlow.Builder()
				.addStep(GrammarSelectHelp.class)
				.addStep(WordnikLoaderHelp.class)
				.addStep(WordnikListHelp.class)
				.addStep(ProductionSelectionHelp.class)
				.addStep(ResultsHelp.class)
				.addStep(SecondarySubstitutionHelp.class)
				.addStep(FinalResultsHelp.class)
				.create();
	}

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
	}

	@Override
	public void onWizardComplete() {
		super.onWizardComplete();
		getActivity().finish();
	}

}

